import request from "@/utils/request";

// 获取未分组学生列表
export function getUnGroupStudentList(courseSchedulingId) {
  return request({
    url: "/school/courseGroup/getUnGroupStudentList/" + courseSchedulingId,
    method: "get",
  });
}

// 获取分组信息
export function getGroupInfoList(courseSchedulingId) {
  return request({
    url: "/school/courseGroup/getGroupInfoList/" + courseSchedulingId,
    method: "get",
  });
}

// 保存分组信息
export function saveGroupInfo(courseSchedulingId,data) {
  return request({
    url: `/school/courseGroup/saveGroupInfo/${courseSchedulingId}`,
    method: "put",
    data: data,
  });
}
